package com.mulanweb.api.module.model.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

import java.util.Date;

/**
 * Created by Administrator on 2016/8/15.
 */
public abstract class BaseToken<M extends BaseToken<M>> extends Model<M> implements IBean {

    public void setId(Integer id){set("id",id);}

    public Integer getId(){return get("id");}

    public void setValue(String value){set("value",value);}

    public String getValue(){return get("value");}

    public void setTodayCount(Integer today_count){set("today_count",today_count);}

    public Integer getTodayCount(){return get("today_count");}

    public void setDescription(String description){set("description",description);}

    public String getDescription(){return get("description");}


    public void setCreateTime(Date create_time){set("create_time",create_time);}

    public Date getCreateTime(){return get("create_time");}

}
